import http from  './http'
// https://api-hmugo-web.itheima.net/api/public/v1/goods/search
export const searchApi=(query)=>{
    return http({
           url:'https://api-hmugo-web.itheima.net/api/public/v1/goods/search',
           method:'GET',
           params:{
            query
           }
    })
}